<?php
/**
 * Created by PhpStorm.
 * User: vbolshov
 * Date: 11.10.2010
 * Time: 10:49:43
 */

namespace km\exception;

use \Exception;

class HttpErrorException extends Exception {
	function header($header, $code)
	{
		if ('cli' != PHP_SAPI) header($header, true, $code);
	}
}
